package com.example.hotelrear.mapper;

import com.example.hotelrear.entity.Room;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
<<<<<<< HEAD
import org.apache.ibatis.annotations.Select;

import java.util.List;
=======
>>>>>>> c858df565d55deb60e87bd48c878762d1fd5080a

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author FengXiao
 * @since 2023-08-28
 */
@Mapper
public interface RoomMapper extends BaseMapper<Room> {
    @Select("select * from room where status=0")
    public List<Room> findAllRoom();
}
